package com.jxdinfo.hussar.activitidemo.service;

import java.util.Map;

import com.baomidou.mybatisplus.service.IService;
import com.jxdinfo.hussar.activitidemo.bean.TdbYjMEventReportRecord;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zzd
 * @since 2019-06-03
 */
public interface ITdbYjMEventReportRecordService extends IService<TdbYjMEventReportRecord> {

	/**
	 * 根据登录人信息查询他上一级部门ID和类型
	 */
	Map<String, Object> GetTodeptBydeptId(String deptId);

	/**
	 * 新增记录表信息
	 * 
	 * @param tdbYjMEventReportRecord
	 * @return
	 */
	int insertInfo(TdbYjMEventReportRecord tdbYjMEventReportRecord);

	/**
	 * 如果修改应急主表状态出错，则删除记录表信息
	 */
	int deleteBatch(Map<String, Object> map);
}
